package homework;

public class Homework4_5 {
public static void main(String[] args) {
	double height = 100, sum = -100;
    for (int i = 1; i <= 10; i++) {
        sum += height * 2;
        height /= 2;
    }
       System.out.println(sum);
}
}
